package models.shop.Mail;

import play.data.validation.MaxSize;
import play.data.validation.MinSize;
import play.data.validation.Required;

public class ProductQuestionMessage extends Message {
    @Required
    @MinSize(2)
    @MaxSize(140)
    public String productTitle;

    public Integer productId;



    public ProductQuestionMessage(){

    }

    public ProductQuestionMessage(Message message, Integer productId) {
        this.email = message.email;
        this.body = message.body;
        this.username = message.username;
        this.productId = productId;
    }
}
